import { useCookies } from "@vueuse/integrations/useCookies";
const TOKEN_KEY = 'token';
const cookies = useCookies();

export function getToken(){
  return cookies.get(TOKEN_KEY);
}

export function setToken(token){
  return cookies.set(TOKEN_KEY,token)
}

export function removeToken(){
  return cookies.remove(TOKEN_KEY)
}
